{php}
    $filename = APP_PATH . 'index/view/user/nav.json';
    $file = file_get_contents($filename);
    $menu = json_decode($file,true);
{/php}

<dl>
    <dt id="user-setting-title">设置</dt>
    {volist name="menu" id="menu"}
        <dd class="user-setting-detail" id="user-setting{$i}">
            <a href="{$menu}">{$key}</a>
        </dd>
    {/volist}
</dl>
